<template>
 <div>
     <h1>新闻页</h1>
     <button @click="getBack">点击回退</button>
 </div>
</template>

<script>
export default {
    data(){
         return{}
    },
    created(){
        document.title = this.$route.meta.title
    },
    methods:{
        getBack(){
            // this.$router.go(-1)
            this.$router.back()
        }
    },
    components:{}
}

</script>
<style scoped>
</style>